<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<div id="function">
  <table width="500" border="0">
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
</div>


<div id="post"><div id="right">
  <div id="options">
       <%= render :layout=>"/login/user_function"  %>
  </div>
 </div>
    <div id="content">
        <fieldset>
    <h2>修改自己信息</h2>
    <div id="reg_box">
      <% form_for @user, :url=>{:action=>"update_self",:id=>params[:id]}do |f| %>
          <%= f.error_messages %>
      <div id="box_t">
          <p> 用户帐号 ：</p><%=h @user.account %>
          <p>输入密码 ：</p><%= f.password_field :password %>
          <p>确认密码： </p><%= f.password_field :password_confirmation %>
          <p>邮箱： </p><%= f.text_field :e_mail  %>
          <p><%= f.submit '提交' %></p>
          <% end %>
          </div>
     </div>


  </fieldset>
   </div>
</div>

